package com.bestcem.xm.user.mq.send.biz;

import com.bestcem.xm.user.mq.info.group.GroupNameInfo;
import com.bestcem.xm.user.mq.info.group.StoreInfo;
import com.bestcem.xm.user.mq.message.group.ChangeGroupCodeMessage;

import java.util.List;

public interface UserMessageSendService {

    void publishGroupValidateList(String orgId, List<String> groupIds);

    void publishGroupTitleModifyList(String orgId, List<GroupNameInfo> title_modify);

    void publishGroupCodeModify(ChangeGroupCodeMessage message);

    void publishCreateStoreList(String orgId, String root_id, List<StoreInfo> node_list);

    void publishGroupLevelDelete(String orgId, String lv_id);

    void publishGroupInvalidateList(String orgId, List<String> del_grp_id_list);

    void publishGroupsChange(String orgId, String rootGroupId);

    void userOrgCreate(String orgId);

    void publishGroupLevelTitleModify(String orgId, String groupLevelId, String oldGroupLevelName, String newGroupLevelName);

    void publishSmtpDelete(List<String> smtpIds);

    void publishUserCreate(String userId, List<String> groupIds);

    void publishUserUpdate(String userId, List<String> groupIds);
}
